package com.baitiaojun.video.mapper;

import com.baitiaojun.api.domain.user.UserPreference;
import com.baitiaojun.api.domain.video.VideoOperation;

import java.util.List;

public interface VideoOperationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(VideoOperation record);

    int insertSelective(VideoOperation record);

    VideoOperation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(VideoOperation record);

    int updateByPrimaryKey(VideoOperation record);

    List<UserPreference> selectUserPreferences();

    int deleteVideoOperation(VideoOperation videoOperation);
}